<template>
	<view class="content">
		<rich-text :nodes="text"></rich-text>
	</view>
</template>

<script>
	import { curl } from 'common/api.js';

	export default {
		data() {
			return {
				text:''
			}
		},
		
		onShow() {
			curl('index/agreement', {}).then((res) => {
				console.log(res);
				this.text=res.data.content
			});
		},
		
		methods: {
			
		}
	}
</script>

<style>
	
	.content{
		width: 720rpx;height: auto;margin: auto;
	}

</style>
